package ace.module.account.core.impl.manager;

import ace.module.account.api.enums.IamAccountEventRecordEventTypeEnum;
import ace.module.account.api.model.dto.IamAccountEventRecordDto;
import ace.module.account.core.impl.dao.entity.IamAccountEventRecord;
import ace.module.account.core.impl.service.model.IamAccountEventParams;
import ace.module.common.core.impl.manager.EntityOfAppManager;

/**
 * .
 *
 * @author: caspar
 */
public interface IamAccountEventRecordManager
    extends EntityOfAppManager<IamAccountEventRecord, Long, IamAccountEventRecordDto> {

  IamAccountEventRecord.IamAccountEventRecordBuilder from(
      Long iamAppId,
      Long accountId,
      IamAccountEventRecordEventTypeEnum eventTypeEnum,
      IamAccountEventParams accountEventParams);
}
